package csdn.xiancheng.li05;

public class Test {
    public static void main(String[] args) {
        //创建售票线程
        TicketT t=new TicketT();
        //创建售票窗口
        Thread t1=new Thread(t,"第一窗口");
        Thread t2=new Thread(t,"第二窗口");
        Thread t3=new Thread(t,"第三窗口");

        t1.start();
        t2.start();
        t3.start();
    }
}
